package lanqiao;

import java.util.Arrays;
import java.util.Scanner;

public class test8 {
    //1605 直角三角形
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int[] arr=new int[3];
        for (int i = 0; i < arr.length; i++) {
            arr[i]=scan.nextInt();
        }
        Arrays.sort(arr);
        int sum1=arr[0]*arr[0]+arr[1]*arr[1];
        int sum2=arr[2]*arr[2];
        if(sum1==sum2){
            System.out.println("YES");
        }
        else{
            System.out.println("NO");
        }
        scan.close();



    }
}
